<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Document</title>
</head>

<body>
  <div id="app">
    <h1>插值表达式</h1>
    <h3>{{msg}}</h3>
    <h3>{{ count }}</h3>
    <div v-html="html"></div>
    <div>
      --------------------------------<br />
      {{count}}
      <h3 v-text="msg"></h3>
    </div>
    <input type="text" v-model="msg" />
    <input type="text" v-model="count" />
    <button v-on:click="dfasd">点我啊~</button>
  </div>
  <script src="./Dep.js"></script>
  <script src="./Watcher.js"></script>
  <script src="./Compiler.js"></script>
  <script src="./Observer.js"></script>
  <script src="./Vue.js"></script>
  <script>
    let vm = new Vue({
      el: '#app',
      data: {
        msg: 'hello',
        count: 100,
        person: { name: 'lanpang' },
        html: `<h1>lanpang</h1>`
      },
      methods: {
        handler() {
          console.log('click~');
        }
      },
    });
  </script>
</body>

</html>